package com.boatAnchorAssistant.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/11/14 16:56
 * 我的收藏
 */
@Data
@TableName(autoResultMap = true)
@AccEntity(value = "我的收藏",type = EntityType.SERVICE_ENTITY)
@TableComment("我的收藏")
public class UserCollect extends DomainBaseEntity<UserCollect> {

    /**
     * 设备id
     */
    @Column(type = MySqlTypeConstant.BIGINT,
            comment = "设备id")
    private Long deviceId;

    /**
     * 用户id
     */
    @Column(type = MySqlTypeConstant.BIGINT,
            comment = "用户id")
    private Long userId;

}

